<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
<button onclick="getData()">
    获取电影列表
</button>
<ul>

</ul>

    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.7.1/jquery.js">
    </script>
    <script>
        function getData(){
            $.ajax({
                url:'https://mock.mengxuegu.com/mock/65a91543c4cd67421b34c898/movie/movieList',
                method:'GET',
                data:{
                    name:'平平',
                    age:18
                },
                success:function(data){
                    console.log(data);
                }
                
            })
        }
    </script>
</body>
</html>